package com.coderman;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * The type XinguanApplication.
 *
 * @Author xieyongfeng
 * @Date 2023 /4/9 18:21
 */
@SpringBootApplication
@EnableTransactionManagement  //开启事务管理
@MapperScan("com.coderman.*.mapper") //扫描mapper
public class MaterialApplication {
    public static void main(String[] args) {
        SpringApplication.run(MaterialApplication.class,args);
    }
}
